﻿<phone:PhoneApplicationPage 
    x:Class="Coding4Fun.WheresMyCar.MapSet"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    
	FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d" d:DesignHeight="728" d:DesignWidth="480">

	<!--LayoutRoot contains the root grid where all other page content is placed-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
		<Grid x:Name="MapGrid" />
		<Image Source="/images/carPushpin.png" Stretch="None" />
		<Grid VerticalAlignment="Bottom" HorizontalAlignment="Right">
			
			<Rectangle Fill="{StaticResource PhoneAccentBrush}" Opacity=".8" />
			<StackPanel>
				<StackPanel Orientation="Horizontal" Margin="10,3">
					<TextBlock Text="Accuracy: " />
					<TextBlock Text="{Binding Accuracy}" />
					<TextBlock Text="m" />
				</StackPanel>
				<!-- StackPanel Orientation="Horizontal" Margin="10,3">
                    <TextBlock Text="Heading: " />
                    <TextBlock Text="{Binding Settings.HeadingToCar}" />
                </StackPanel -->
			</StackPanel>
		</Grid>
	</Grid>

	<phone:PhoneApplicationPage.ApplicationBar>
		<shell:ApplicationBar>
			<shell:ApplicationBarIconButton IconUri="/images/dark/appbar.check.rest.png" Text="save" Click="ApplicationBarIconButton_Click" />
		</shell:ApplicationBar>
	</phone:PhoneApplicationPage.ApplicationBar>

</phone:PhoneApplicationPage>
